home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / john / hc_showd.hqx / ShowDialog XCMD 1.4 / card_8886.txt < prev    next >
Encoding:
Text File  |  1989-08-30  |  3.8 KB  |  169 lines

  1. -- card: 8886 from stack: in.4
  2. -- bmap block id: 8523
  3. -- flags: 2000
  4. -- background id: 2607
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on closeCard
  8.   hide cd pict
  9.   hide cd btn "Hide Pict"
  10.   hide cd fld "Icon Table"
  11. end closeCard
  12.  
  13.  
  14. -- part 3 (button)
  15. -- low flags: 00
  16. -- high flags: 2000
  17. -- rect: left=298 top=174 right=196 bottom=322
  18. -- title width / last selected line: 0
  19. -- icon id / first selected line: 21676 / 21676
  20. -- text alignment: 1
  21. -- font id: 0
  22. -- text size: 12
  23. -- style flags: 0
  24. -- line height: 16
  25. -- part name: Show Pict
  26. ----- HyperTalk script -----
  27. on mouseUp
  28.   show cd pict
  29.   show cd btn "Hide Pict"
  30. end mouseUp
  31.  
  32.  
  33.  
  34. -- part 4 (button)
  35. -- low flags: 80
  36. -- high flags: 2000
  37. -- rect: left=298 top=174 right=196 bottom=322
  38. -- title width / last selected line: 0
  39. -- icon id / first selected line: 21676 / 21676
  40. -- text alignment: 1
  41. -- font id: 0
  42. -- text size: 12
  43. -- style flags: 0
  44. -- line height: 16
  45. -- part name: Hide Pict
  46. ----- HyperTalk script -----
  47. on mouseUp
  48.   hide cd pict
  49.   hide me
  50. end mouseUp
  51.  
  52.  
  53.  
  54. -- part 5 (field)
  55. -- low flags: 01
  56. -- high flags: 0000
  57. -- rect: left=178 top=193 right=260 bottom=308
  58. -- title width / last selected line: 0
  59. -- icon id / first selected line: 0 / 0
  60. -- text alignment: 0
  61. -- font id: 3
  62. -- text size: 10
  63. -- style flags: 0
  64. -- line height: 13
  65. -- part name: 
  66.  
  67.  
  68. -- part 1 (field)
  69. -- low flags: 81
  70. -- high flags: 2004
  71. -- rect: left=158 top=91 right=312 bottom=346
  72. -- title width / last selected line: 0
  73. -- icon id / first selected line: 0 / 0
  74. -- text alignment: 0
  75. -- font id: 4
  76. -- text size: 9
  77. -- style flags: 0
  78. -- line height: 12
  79. -- part name: ICON Table
  80. ----- HyperTalk script -----
  81. on mouseUp
  82.   lock screen
  83.   hide me
  84.   unlock screen with zoom in
  85. end mouseUp
  86.  
  87.  
  88. -- part 2 (button)
  89. -- low flags: 00
  90. -- high flags: 2000
  91. -- rect: left=114 top=291 right=313 bottom=138
  92. -- title width / last selected line: 0
  93. -- icon id / first selected line: 21676 / 21676
  94. -- text alignment: 1
  95. -- font id: 0
  96. -- text size: 12
  97. -- style flags: 0
  98. -- line height: 16
  99. -- part name: Show ICON Field
  100. ----- HyperTalk script -----
  101. on mouseUp
  102.   lock screen
  103.   get the visible of cd fld "ICON Table"
  104.   if it is false then
  105.     show cd fld "ICON Table"
  106.     unlock screen with zoom out
  107.   else
  108.     hide cd fld "ICON Table"
  109.     unlock screen with zoom in
  110.   end if
  111. end mouseUp
  112.  
  113.  
  114.  
  115. -- part contents for background part 1
  116. ----- text -----
  117.  
  118.  
  119. Menu items can be disabled (grayed out) by preceding the item with a left parenthesis, like this: 
  120. (theItem.  To insert a menu break, put (- as an item in your menu list.  The Toolbox will automatically extend the hyphen the length of the menu; the "(" will cause it to be disabled, so that the menu break cannot be selected.
  121.  
  122. To control the character style of the individual menu items, prefix the item with the modifier character "<" and a letter standing for the desired attribute.
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. To include an icon to the left of a menu item, prefix the text of the item with a circumflex (^) followed by an ASCII character.  The ordinal value of this character plus 208 yields the resource ID of the ICON to display.
  130.  
  131. -- part contents for background part 3
  132. ----- text -----
  133. ShowDialog XCMD Type 4 (continued...)
  134.  
  135. -- part contents for background part 2
  136. ----- text -----
  137. Modifying the Look of PopUp Menu Items
  138.  
  139. -- part contents for card part 1
  140. ----- text -----
  141. The table below lists some of the ASCII Character,ICON number combinations.
  142.  
  143. ^A = 273  ^N = 286  ^1 = 257
  144. ^B = 274  ^0 = 287  ^2 = 258
  145. ^C = 275  ^P = 288  ^3 = 259
  146. ^D = 276  ^Q = 289  ^4 = 260
  147. ^E = 277  ^R = 288  ^5 = 261
  148. ^F = 278  ^S = 290  ^6 = 262
  149. ^G = 279  ^T = 291  ^7 = 263
  150. ^H = 280  ^U = 292  ^8 = 264
  151. ^I = 281  ^V = 293  ^9 = 265
  152. ^J = 282  ^W = 294   
  153. ^K = 283  ^X = 295    
  154. ^L = 284  ^Y = 296    
  155. ^M = 285  ^Z = 297   
  156.  
  157.  
  158. -- part contents for card part 5
  159. ----- text -----
  160. <BtheItem  for bold
  161. <ItheItem   for italic
  162. <OtheItem  for outline
  163. <UtheItem  for underline
  164. <StheItem  for shadow
  165.  
  166.  
  167. -- part contents for background part 7
  168. ----- text -----
  169. 17